package LeetCodeTest.PrimaryAlgorithmTest.Array;

public class test {
    static int[] numa;

    public static void main(String[] args) {
        numa = new int[]{1,2};
        System.out.println("1."+numa);
        fun(numa);
        System.out.println("3."+numa);
        for (int temp : numa) {
            System.out.println(temp);
        }
    }
    public static void fun(int[] numa){
        System.out.println("2."+numa);
        int[] numb = new int[]{1,2,3};
        System.out.println("b."+numb);
        numa = numb;
        System.out.println("4."+numa);
    }
}
